package cn.stylefeng.guns.modular.ht.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import java.util.Date;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;

/**
 * <p>
 * 健康状况上报
 * </p>
 *
 * @author 
 * @since 2020-02-01
 */
@TableName("ht_report")
public class Report implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 账号
     */
    @TableField("account")
    private String account;

    /**
     * 有无接触（湖北/武汉）人员
     */
    @TableField("touch_wuhan")
    private Boolean touchWuhan;

    /**
     * 有无疑似症状
     */
    @TableField("touch_symptom")
    private Boolean touchSymptom;

    /**
     * 1良好, 2发热, 3乏力, 4咳嗽
     */
    @TableField("healthy_status")
    private String healthyStatus;

    /**
     * 上报时间
     */
    @TableField("report_time")
    private Date reportTime;

    /**
     * 当前上报城市
     */
    @TableField("city")
    private String city;

    @TableField(value = "create_time", fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(value = "create_user", fill = FieldFill.INSERT)
    private Long createUser;

    @TableField(value = "update_time", fill = FieldFill.UPDATE)
    private Date updateTime;

    @TableField(value = "update_user", fill = FieldFill.UPDATE)
    private Long updateUser;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public Boolean getTouchWuhan() {
        return touchWuhan;
    }

    public void setTouchWuhan(Boolean touchWuhan) {
        this.touchWuhan = touchWuhan;
    }

    public Boolean getTouchSymptom() {
        return touchSymptom;
    }

    public void setTouchSymptom(Boolean touchSymptom) {
        this.touchSymptom = touchSymptom;
    }

    public String getHealthyStatus() {
        return healthyStatus;
    }

    public void setHealthyStatus(String healthyStatus) {
        this.healthyStatus = healthyStatus;
    }

    public Date getReportTime() {
        return reportTime;
    }

    public void setReportTime(Date reportTime) {
        this.reportTime = reportTime;
    }

    public String getCity() {
        return city;
    }

    public void setCity(String city) {
        this.city = city;
    }

    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public Date getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(Date updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

    @Override
    public String toString() {
        return "Report{" +
        "id=" + id +
        ", account=" + account +
        ", touchWuhan=" + touchWuhan +
        ", touchSymptom=" + touchSymptom +
        ", healthyStatus=" + healthyStatus +
        ", reportTime=" + reportTime +
        ", city=" + city +
        ", createTime=" + createTime +
        ", createUser=" + createUser +
        ", updateTime=" + updateTime +
        ", updateUser=" + updateUser +
        "}";
    }
}
